/*
 * Filename:    WorkFlowServiceImpl.java
 * Copyright:   2014 中国平安保险（集团）股份有限公司 版权所有
 * Company:     平安科技养老险及健康险系统开发部
 * Create at:   2014年10月29日
 */
package com.paic.mhis.hcpms.trust.biz.service;

import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.paic.mhis.core.auth.biz.service.UserDetails;
import com.paic.mhis.hcpms.common.workflow.vo.HcpmsWorkFlowVO;
import com.paic.pafa.exceptions.BusinessException;

public interface IntegrityWorkFlowService {
	public String startWorkFlow(String warnNo, UserDetails user, Map<String, String> condition) throws Exception;

	public String processWorkFlow(HcpmsWorkFlowVO vo) throws Exception;

	public String vilidateOrBindUser(String warnNo, String username, String status);

	/**
	 *  医务人员录入记分提交调用流程
	 * @param transferJson 前端传入数据对象
	 * @param paramMap	处理参数
	 * @param resultMap 返回成功信息
	 * @return
	 * @throws BusinessException
	 * @throws Exception 
	 */
	public Map<String, Object> resultMapIntegrityWorkFlow(JSONObject transferJson,Map<String,
			Object> paramMap,Map<String, Object> resultMap) throws BusinessException, Exception;
	
	/**
	 * 医务人员录入记分审核、审批调用流程
	 * @param transferJson 前端传入数据对象
	 * @param paramMap 处理参数
	 * @param resultMap 返回成功信息
	 * @return
	 * @throws BusinessException
	 */
	public Map<String, Object> resultMapIntegrityAuditApproveWorkFlow(JSONObject transferJson,
			Map<String, Object> paramMap,Map<String, Object> resultMap) throws BusinessException;
}
